﻿namespace newBlog.CenterInc.model
{
    public class MyArticle_itemDao_json
    {
        //给用户文章页面的json定义内容格式
        private int id;
        private string title;
        private int price;
        private string img;
        private string catalog;
        private string describe;
        private string time;
        private string user_id;
        public MyArticle_itemDao_json(int id, string title, int price, string img, string catalog, string describe, string time)
        {
            this.Id = id;
            this.Title = title;
            this.Price = price;
            this.Img = img;
            this.Catalog = catalog;
            this.Describe = describe;
            this.Time = time;
        }

        public MyArticle_itemDao_json(int id, string title, int price, string img, string catalog, string describe, string time, string user_id)
        {
            this.id = id;
            this.title = title;
            this.price = price;
            this.img = img;
            this.catalog = catalog;
            this.describe = describe;
            this.time = time;
            this.User_id = user_id;
        }

        public int Id { get => id; set => id = value; }
        public string Title { get => title; set => title = value; }
        public int Price { get => price; set => price = value; }
        public string Img { get => img; set => img = value; }
        public string Catalog { get => catalog; set => catalog = value; }
        public string Describe { get => describe; set => describe = value; }
        public string Time { get => time; set => time = value; }
        public string User_id { get => user_id; set => user_id = value; }
    }
}